/**
 * 
 */
package com.vivi.codereview;

/**
 * 
 * The only one and global exception to be used in the program.
 * @author vivi
 *
 */
public class WhatTheFuckException extends Exception {

	/**
	 * Serialization.
	 */
    private static final long serialVersionUID = -553797297268407204L;
    
    /**
     * The value of the exception thrown.
     */
	private int value;
	
	/**
	 * Constructor
	 * @param value the value related to the exception
	 */
	public WhatTheFuckException(int value) {
		this.value = value;
	}
	
	/**
	 * Returns the value of the exception
	 * @return refer Log.Exit
	 */
	public int getValue() {
		return value;
	}

}
